package com.woniuxy.dao;

import com.woniuxy.domain.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author gaopeng
 * @create 2020/03/2020/3/25 11:22:42
 */
@Mapper
@Repository
public interface DeptMapper {
    void save(Dept dept);
    void delete(Integer did);
    void update(Dept dept);
    List<Dept> findAll();
    Dept findOne(Integer did);
}
